TenWebOptimizer\WebPageCache\OptimizerWebPageCache B

Total Complexity 82
Dependencies 3
Dependents 3
Total lines 365
Lines of code 254
Logical lines of code 166
Comment lines 23
Methods 19
Properties 8

Methods 19

Method Rating Maintainability Complexity Lines of code
delete_page_cache()
A
51 10 25
can_process_page()
A
50 9 33
init()
A
55 8 17
serve_cached_file()
S
51 7 25
cache_content()
S
55 7 19
request_headers()
S
55 6 19
get_cache_file_dir()
S
52 5 23
__construct()
S
57 5 16
get_cached_file_to_serve()
S
66 6 9
maybe_clear_cache()
S
56 4 17
get_cache_dir_for_page()
S
60 3 13
process_page()
S
67 3 7
get_config()
S
70 2 6
get_instance()
S
71 2 6
delete_cache_by_post_id()
S
79 1 3
delete_cache_by_url()
S
72 1 5
delete_all_cached_pages()
S
75 1 4
get_cache_dir_for_page_from_url()
S
74 1 4
is_home()
S
78 1 3